#include "SceneGraph.h"


SceneGraph::SceneGraph(void)
{

}


SceneGraph::~SceneGraph(void)
{
	delete(this->root);
}


void SceneGraph::draw(const glm::mat4 mv){
	std::stack< glm::mat4> transfstack;
	transfstack.push(mv);
	//traverse through the tree, pushing/popping from the stack
	root->draw( transfstack );
}
